package com.kma.ncpractice2013.model;

import java.util.ArrayList;

/**
 *
 * @author Illya
 */
public class UserAccessLevel
{
    private int id;
    private String description;
    private ArrayList<User> relatedUsers; // where should I initialize this?

    public void setRelatedUsers(ArrayList<User> relatedUsers) {
        this.relatedUsers = relatedUsers;
    }

    public ArrayList<User> getRelatedUsers() {
        return relatedUsers;
    }

    public UserAccessLevel(int id, String description, ArrayList<User> relatedUsers)
    {
        this.id = id;
        this.description = description;
        this.relatedUsers = relatedUsers;
    }

    public UserAccessLevel()
    {
    }
    
    public void setId(int id)
    {
        this.id = id;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public int getId()
    {
        return id;
    }

    public String getDescription()
    {
        return description;
    }
}
